﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EnCor.Security.Credentials
{
    [Serializable]
    public class TransferCredential
    {
        internal TransferCredential()
        { 
        
        }

        public TransferCredential(string credentialType, string xmlContent)
        {
            _CredentialType = credentialType;
        }

        public TransferCredential(string credentialType, byte[] binaryContent)
        {
            _BinaryContent = binaryContent;
        }
        

        private string _CredentialType;
        public string CredentialType
        {
            get
            {
                return _CredentialType;
            }
            set
            {
                _CredentialType = value;
            }
        }

        private string _XmlContent;
        public string XmlContent
        {
            get
            {
                return _XmlContent;
            }
            private set
            {
                _XmlContent = value;
            }
        }

        private byte[] _BinaryContent;
        public byte[] BinaryContent
        {
            get
            {
                return _BinaryContent;
            }
            private set
            {
                _BinaryContent = value;
            }
        }
    }
}
